/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ru.ipccenter.ejb;

import java.util.Collection;
import javax.ejb.Remote;

/**
 *
 * @author Nick
 */
@Remote
public interface UserInterface {

    public boolean checkForExistName(String name);
    public boolean checkForExistMail(java.lang.String mail);
    public void addUser(String name, String pass, String mail);
    public Collection<User> getAllUsers();
    public boolean checkPass(String name, String pass);
    public Object[] getPass(String mail);
}
